package com.ziyue.socket.enums;

/**
 * Created by wancheng on 2019/4/15.
 */
public enum SocketStatusEnum {
    /**
     * 成功
     */
    SOCKET_SUCCESS(200),
    /**
     * 失败
     */
    SOCKET_ERROR(500),
    /**
     * 系统异常
     */
    SOCKET_EXCEPTION(1001);

    private Integer code;

    SocketStatusEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
